@charset "utf-8";
@import "config";

@mixin over{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@mixin f_b{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@mixin f_a{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
@function w($wpx){
    @return $wpx/640*100%;
}
$col: #d62d31;
$ts: 0.2s;
.show{
    display: block!important;
}
.show_i{
    display: inline-block!important;
}

.container{
    overflow: hidden;
    .web_head{
        overflow: hidden;
        .title{
            font-size: 1rem;
        }
        a:hover,a:active{
            @include highLight;
        }
    }
    .web_sec{
        .title{
            width: 100%;
            height: setLengthByHeight(80px);
            border-bottom: 1px solid #e0e0e0;
            text-align: center;
            background-color: #fff;
            overflow: hidden;
            &>div{
                display: inline-block;
                width: 49%;
                font-size: 0.8rem;
                color: #333;
                transition: $ts;
                span{
                    display: inline-block;
                    height: setLengthByHeight(80px);
                    line-height: setLengthByHeight(80px);
                    padding: 0 5px;
                    @include over;
                    transition: $ts;
                }
                &.active{
                    color: $col;
                    span{
                        border-bottom: 4px solid $col;
                    }
                }
            }
        }
        .info{
            display: none;
            margin-top: setLengthByHeight(20px);
            li{
                padding: 0 w(20);
                border-bottom: 1px solid #e0e0e0;
                background-color: #fff;
                &:first-child{
                    border-top: 1px solid #e0e0e0;
                }
                &:hover,&:active{
                    background: #fafafa;
                }
                a{
                    display: block;
                    width: 100%;
                    height: setLengthByHeight(95px);
                    line-height: setLengthByHeight(95px);
                    color: #333;
                    font-size: 0.9rem;
                    overflow: hidden;
                    .time{
                        width: 40%;
                        @include over;
                    }
                    .money{
                        width: 50%;
                        text-align: right;
                        @include over;
                    }
                }
            }
            &.info_different{
                a{
                    height: setLengthByHeight(125px);
                    line-height: setLengthByHeight(85px);
                    padding: setLengthByHeight(20px) 0;
                    .money{
                        em{
                            display: block;
                            line-height: setLengthByHeight(45px);
                        }
                        span{
                            display: block;
                            color: #999;
                            font-size: 0.7rem;
                            line-height: setLengthByHeight(35px);
                        }
                    }
                }
            }
        }
    }
    .web_foot{
        text-align: right;
        font-size: 0.9rem;
        padding: 0 w(20);
        overflow: hidden;
        p{
            display: inline-block;
            width: 50%;
            @include over;
            &.foot_pro{
                display: none;
                width: 40%;
                margin-left: 3%;
            }
        }
    }
}
